home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / python-support / python-rdflib / rdflib / sparql / bison / IRIRef.py < prev    next >
Encoding:
Python Source  |  2007-04-04  |  475 b   |  20 lines

  1. """
  2. DatasetClause ::= 'FROM' ( IRIref | 'NAMED' IRIref )
  3. See: http://www.w3.org/TR/rdf-sparql-query/#specifyingDataset
  4.  
  5. 'A SPARQL query may specify the dataset to be used for matching.  The FROM clauses
  6. give IRIs that the query processor can use to create the default graph and the
  7. FROM NAMED clause can be used to specify named graphs. '
  8. """
  9.  
  10. from rdflib import URIRef
  11.  
  12. class IRIRef(URIRef):
  13.     pass
  14.  
  15. class RemoteGraph(URIRef):
  16.     pass
  17.  
  18. class NamedGraph(IRIRef):
  19.     pass
  20.